package com.itheima;

public class Test {
    public static void main(String[] args) {
        checkScore(101);
        System.out.println("程序结束");
    }
    public static void checkScore(int score){
        if(score<0 || score>100){
            throw new ScoreOutOfBoundsException(score);
        }
    }
}
